home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr49
/
352_01.zip
/
VLISTPOP.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1993-04-10
|
373b
|
19 lines
// VLISTPOP.CPP
// code for Vlist::pop(), removes top item from vlist stack.
#include "dblib.h"
void Vlist::pop ( void )
{
void **vl = list;
register int vn =n;
if ( vn>0 )
{
n = --vn;
free ( vl[vn] );
vl [vn] = NULL;
}
return; /* Vlist::pop() */
}
//----------------- end VLISTPOP.CPP -------------------